package com.ruoyi.ky450.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.ky450.domain.TargetAttachment;

/**
 * 目标附件Mapper接口
 *
 * @author ruoyi
 * @date 2025-01-20
 */
public interface TargetAttachmentMapper extends BaseMapper<TargetAttachment>
{
    /**
     * 查询目标附件
     *
     * @param id 目标附件主键
     * @return 目标附件
     */
    public TargetAttachment selectTargetAttachmentById(Long id);

    /**
     * 查询目标附件列表
     *
     * @param targetAttachment 目标附件
     * @return 目标附件集合
     */
    public List<TargetAttachment> selectTargetAttachmentList(TargetAttachment targetAttachment);

    /**
     * 新增目标附件
     *
     * @param targetAttachment 目标附件
     * @return 结果
     */
    public int insertTargetAttachment(TargetAttachment targetAttachment);

    /**
     * 修改目标附件
     *
     * @param targetAttachment 目标附件
     * @return 结果
     */
    public int updateTargetAttachment(TargetAttachment targetAttachment);

    /**
     * 删除目标附件
     *
     * @param id 目标附件主键
     * @return 结果
     */
    public int deleteTargetAttachmentById(Long id);

    /**
     * 批量删除目标附件
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTargetAttachmentByIds(Long[] ids);
}
